package com.kaili.db.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.IService;
import com.kaili.pojo.dto.trans.TransAddBean;
import com.kaili.pojo.dto.trans.TransCheckBean;
import com.kaili.pojo.dto.trans.TransModifyBean;
import com.kaili.pojo.entity.HsEwbsTransfer;
import com.kaili.pojo.vo.TransCheckVo;
import com.kaili.pojo.vo.TransExportVo;
import com.kaili.pojo.vo.TransSendVo;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author cgm
 * @since 2018-05-08
 */
public interface IHsEwbsTransferService extends IService<HsEwbsTransfer> {
    List<TransSendVo> getTransferSendList(Map search);

    List<TransSendVo> getTransferArriveList(Map search);

    Page<TransSendVo> getTransferSendList(Page<TransSendVo> page, Map search);

    Page<TransSendVo> getTransferArriveList(Page<TransSendVo> page, Map search);

    int addTransSend(TransAddBean bean);

    int modifyTrans(TransModifyBean bean);

    int deleteTrans(String id);

    int addTransArrive(TransAddBean bean);

    int addTransSendPda(TransAddBean bean);

    int addTransArrivePda(TransAddBean bean);

    List<TransExportVo> getTransList(Map search);

    Page<TransExportVo> getTransList(Page<TransExportVo> page, Map search);

    List<TransSendVo> getTransDetail(Map search);

    Page<TransCheckVo> getTransCheckList(Page<TransCheckVo> page, Map search);

    List<TransCheckVo> getTransCheckList(Map search);

    int doConfirmCheck(List<TransCheckBean> bean);
}
